package com.mastercard.assets.jpa;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tbl_tarea_flujo database table.
 * 
 */
@Entity
@Table(name="tbl_tarea_flujo")
public class TblTareaFlujo implements Serializable {
	private static final long serialVersionUID = 1L;
	private TblTareaFlujoPK id;
	private TblTarea tblTarea1;
	private TblTarea tblTarea2;
	private TblFormaSalida tblFormaSalida;

    public TblTareaFlujo() {
    }


	@EmbeddedId
	public TblTareaFlujoPK getId() {
		return this.id;
	}

	public void setId(TblTareaFlujoPK id) {
		this.id = id;
	}
	

	//bi-directional many-to-one association to TblTarea
    @ManyToOne
	@JoinColumn(name="cve_tarea", nullable=false, insertable=false, updatable=false)
	public TblTarea getTblTarea1() {
		return this.tblTarea1;
	}

	public void setTblTarea1(TblTarea tblTarea1) {
		this.tblTarea1 = tblTarea1;
	}
	

	//bi-directional many-to-one association to TblTarea
    @ManyToOne
	@JoinColumn(name="cve_tarea_sigue", nullable=false, insertable=false, updatable=false)
	public TblTarea getTblTarea2() {
		return this.tblTarea2;
	}

	public void setTblTarea2(TblTarea tblTarea2) {
		this.tblTarea2 = tblTarea2;
	}
	

	//bi-directional many-to-one association to TblFormaSalida
    @ManyToOne
	@JoinColumn(name="cve_salida", nullable=false, insertable=false, updatable=false)
	public TblFormaSalida getTblFormaSalida() {
		return this.tblFormaSalida;
	}

	public void setTblFormaSalida(TblFormaSalida tblFormaSalida) {
		this.tblFormaSalida = tblFormaSalida;
	}
	
}